Skip to content

test: MCP config and plugin marketplace tests - #39

Merged
bradygaster merged 68 commits into
mainfrom
squad/v040-tests-mcp-plugins
Feb 13, 2026
Merged

bradygaster merged 68 commits into
mainfrom
squad/v040-tests-mcp-plugins

Conversation

@bradygaster

Copy link
Copy Markdown
Collaborator

Proactive tests for #11 and #29

Written from requirements while implementation is in progress. May need minor adjustment when implementation PRs land.

Test Coverage

MCP Config (#11) — 10 tests

  • Init succeeds with/without .copilot/ directory
  • Existing mcp-config.json is not clobbered
  • Valid JSON validation for any created config
  • Upgrade works with valid, empty, and malformed MCP config
  • Help and version work regardless of MCP config

Plugin Marketplace (#29) — 13 tests

  • List empty state, add, remove lifecycle
  • Error handling: invalid source, missing args, nonexistent marketplace
  • State persistence in .ai-team/plugins/marketplaces.json
  • Browse nonexistent marketplace
  • Multiple marketplace management and duplicate handling

Plugin tests auto-skip when subcommand not yet implemented.

bradygaster and others added 30 commits February 8, 2026 13:27
Constitutional rule: docs/ is public-facing only (GitHub Pages ready).
team-docs/ is internal team documentation (proposals, sprint plans).
.ai-team/ is runtime state (gitignored).

Moved 32 proposals from docs/proposals/ to team-docs/proposals/.
Integrates @spboyer PR #2 with Keaton/Verbal review fixes applied.
New: GitHub Issues Mode, PRD Mode, Human Team Members (prompt-only).
Fixes: gh CLI detection, Init questions post-setup, worktree guidance,
ceremony integration, standard spawn template refs, decomposition guidelines.
33 new tests (61 total). Co-authored-by: Shayne Boyer <shayneboy@hotmail.com>
Session: 2026-02-09-pr2-integration
Requested by: Brady

Changes:
- Logged PR #2 integration session (3 features, 33 tests, 61 total passing)
- Merged 6 decisions from inbox into decisions.md
- Consolidated 2 overlapping Kobayashi docs decisions into single entry
- Propagated cross-agent updates to 9 agent history files
… export/import, history summarization

Wave 2: tiered response modes, smart upgrade with migrations, skills Phase 1, export CLI
Wave 3: import CLI, skills Phase 2, history summarization, lightweight spawn
Content: PR #2 contribution blog post (Shayne Boyer)
Tests: 61 -> 92, all passing

Requested by: bradygaster
Session: 2026-02-09-human-eval-demo-restore
Requested by: bradygaster

Changes:
- Created team-docs/human-evals/001-vscode-parity-smoke-test.md (VS Code QA eval)
- Restored team-docs/demo-script.md from git history
- Trimmed team-docs/blog/003-super-bowl-weekend.md per Brady feedback
- Merged decision inbox files into decisions.md
- Logged session
Session: 2026-02-09-feature-showcase-prompts
Requested by: bradygaster

Changes:
- Added 7 feature showcase prompts (#17-#23) covering all Wave 2-3 features
- Merged decision inbox into decisions.md
- Logged session
Session: 2026-02-09-release-pipeline-update
Requested by: Brady

Changes:
- Logged release pipeline update session
- Merged inbox decisions into decisions.md
- Deduplicated overlapping decisions (3 blocks consolidated)
- Propagated cross-agent updates to kobayashi, hockney, fenster
7 agent history.md files exceeded ~12KB threshold.
Archived detailed entries to history-archive.md, kept
core context and recent updates in history.md.

Agents summarized: fenster, hockney, keaton, kobayashi,
kujan, mcmanus, verbal
Session: 2026-02-09-release-safety-audit
Requested by: Brady

Changes:
- Logged release safety audit session
- Merged inbox decisions into decisions.md
- Deduplicated overlapping decisions
- Propagated cross-agent updates
Session: 2026-02-10-v030-sprint-planning
Requested by: bradygaster

Changes:
- Logged session to .ai-team/log/2026-02-10-v030-sprint-planning.md
- Merged 11 decision(s) from inbox into decisions.md
- Consolidated 4 overlapping decision groups (silent-success, PR #2, skills phases, blog conventions)
- Removed 2 pre-consolidated incoming queue blocks
- Propagated updates to 9 agent history files
Session: 2026-02-10-marketing-site-planning
Requested by: bradygaster

Changes:
- logged session to .ai-team/log/2026-02-10-marketing-site-planning.md
- merged 7 decisions from inbox into decisions.md
- consolidated overlapping marketing site decisions (4 blocks -> 1)
- consolidated overlapping tone/facts-only decisions (2 blocks -> 1)
- removed 1 exact duplicate heading
- propagated updates to agent history files (keaton, mcmanus, fenster, verbal, hockney)
Session: 2026-02-10-v030-sprint-reprioritization
Requested by: bradygaster

Changes:
- Logged session to .ai-team/log/2026-02-10-v030-sprint-reprioritization.md
- Merged 6 decision files from inbox into decisions.md
- Consolidated overlapping squad label convention decisions (Keaton + McManus)
- Propagated updates to 8 agent history files
Keaton: 21.2KB -> summarized older learnings (024/027/028/029 details condensed)
McManus: 12.7KB -> condensed verbose blog/tone learnings
Merged kujan-async-comms-strategy.md from inbox.
Propagated to keaton, verbal, fenster, mcmanus history files.
Condensed detailed learnings for proposals 024a, 028a, and 030.
…ign session

Session: 2026-02-10-v030-github-native-design
Requested by: bradygaster

Changes:
- logged session to .ai-team/log/2026-02-10-v030-github-native-design.md
- merged 11 decision(s) from inbox into decisions.md
- consolidated overlapping decisions (8 blocks into 3)
- propagated updates to agent history files
… assessment

Sprint planning session produced 18 proposal/blog files covering:
- GitHub-native proposals (032, 032a-c): label taxonomy, provider
  abstraction, Actions automation, migration plan
- Project boards assessment (033, 033a) for issue #6
- CCA E2E test design (031), async comms feasibility (030)
- Model selection specs (024, 024a-b), sprint plans (027)
- Marketing site architecture (029, 029a)
- Blog posts 005-006

Ref #6 — project boards proposal authored in response to issue
submitted by @londospark. Thank you for the contribution.

Co-authored-by: londospark <88495+londospark@users.noreply.github.com>
Session: 2026-02-11-issue-triage
Requested by: bradygaster

Changes:
- logged session to .ai-team/log/2026-02-11-issue-triage.md
- merged 3 decision(s) from inbox into decisions.md
- consolidated 4 overlapping decision pairs (Keaton 033 + Kujan Projects V2)
- propagated updates to agent history files (fenster, verbal, mcmanus, kujan, keaton)
Session: 2026-02-11-fritz-video
Requested by: Brady (bradygaster)

Changes:
- logged session to .ai-team/log/2026-02-11-fritz-video.md
- merged decision(s) from inbox into decisions.md
- propagated updates to agent history files
Session: 2026-02-11-model-selection
Requested by: Brady (bradygaster)

Changes:
- logged session to .ai-team/log/2026-02-11-model-selection.md
- merged 2 decision(s) from inbox into decisions.md
- propagated model selection updates to all 9 agent history files
Session: 2026-02-11-universe-expansion
Requested by: Brady (bradygaster)

Changes:
- logged session to .ai-team/log/2026-02-11-universe-expansion.md
bradygaster and others added 24 commits February 11, 2026 20:26
Session: 2026-02-12-notification-architecture
Requested by: Brady

Changes:
- Logged session to .ai-team/log/2026-02-12-notification-architecture.md
- Merged 2 decision files from inbox into decisions.md
- Deleted merged inbox files
- Propagated updates to keaton and mcmanus agent history files
# Conflicts:
#	docs/guide.md
#	test/index.test.js
- New squad-label-enforce.yml: mutual exclusivity for go:* and release:*
  labels. Auto-removes conflicting labels in same namespace, posts update
  comments, auto-applies release:backlog on go:yes, strips release on go:no
- Updated sync-squad-labels.yml: syncs 8 static go:/release: labels
  alongside dynamic squad:{member} labels
- Updated squad-triage.yml: auto-applies go:needs-research as default
  triage verdict on new squad issues
- Updated squad-heartbeat.yml: Ralph detects missing go: verdicts and
  go:yes issues without release: targets
Session: 2026-02-13-go-release-labels
Requested by: Brady

Changes:
- Logged session to .ai-team/log/
- No decisions merged from inbox (inbox was empty)
- No duplicates found in decisions.md (all 236 headers are unique)
- Label automation implemented by Fenster; documented in team history
Session: 2026-02-13-go-release-labels
Requested by: Brady

Changes:
- Merged fenster-go-release-automation.md from inbox to decisions.md
- Deleted inbox file after merge
- Propagated team update to Keaton and Kobayashi histories (label automation affects architecture and CI/CD)
- No duplicates found; all 236 existing headers remain unique
Session: 2026-02-13-docs-and-scenarios
Requested by: Brady

Changes:
- Logged comprehensive documentation pass (36 files, 5,534 lines)
- Merged 2 decisions from inbox (execution strategy, label taxonomy)
- Deleted inbox decision files after merging
fix: document SSH agent requirement and workaround
Session: 2026-02-13-v040-sprint-resume
Requested by: Brady

Changes:
- Logged session resume to .ai-team/log/2026-02-13-v040-sprint-resume.md
- Merged 2 decision(s) from inbox into decisions.md (Keaton VS Code priority, Verbal MCP architecture)
- Propagated updates to affected agent history files
New team member for VS Code client parity work (issues #32-#34).
Handles runSubagent compatibility, file discovery, model selection,
and extension API research.
Session: 2026-02-13-vscode-parity-spike
Requested by: Brady (bradygaster)

Changes:
- Logged VS Code parity spike session (Strausz + Kujan on #32)
- Merged 2 inbox files (strausz-runsubagent-findings.md, kujan-spawn-parity.md)
- Consolidated 3 overlapping decisions into 1: VS Code runSubagent spawning (#32-35)
- Propagated team updates to Keaton, Fenster, Verbal histories
Session: 2026-02-13-v040-parallel-spikes
Requested by: Brady

Changes:
- logged session to .ai-team/log/2026-02-13-v040-parallel-spikes.md
- no decisions to merge from inbox (inbox was empty)
- no deduplication needed (no new overlapping decisions detected)
- propagated VS Code runSubagent decision update to keaton, kujan, strausz history files
Session: 2026-02-13-v040-parallel-spikes
Requested by: Brady

Changes:
- merged 3 decision(s) from inbox into decisions.md
  - Keaton: Agent Progress Updates (Issue #22, Proposal 022a)
  - Kujan: VS Code Model & Background Parity (Issue #34, Proposal 034a)
  - Strausz: VS Code File Discovery (Issue #33, Proposal 033a)
- deleted 3 inbox files after merging
- propagated updates to affected agent history files (fenster, verbal, kujan)
Session: 2026-02-13-v040-parallel-spikes (continuation)
Requested by: Brady

Changes:
- merged 1 decision from inbox into decisions.md
  - McManus: Client Parity Compatibility Matrix (Issue #35, implemented)
- deleted inbox file after merging
- propagated update to affected agent history files (mcmanus, keaton)
Session: 2026-02-13-v040-boards-and-docs
Requested by: Brady

Changes:
- Created Squad Backlog project board (#13)
- Fenster: Phase 1 foundation — skill, proposal 006a, gate decision
- McManus: Blog post, README/guide.md updates
- Closed spikes: #22, #32, #33, #34, #35
- Merged decisions from inbox
- Logged session
Session: 2026-02-13-client-parity-deliverables
Requested by: Brady

Changes:
- logged session to .ai-team/log/2026-02-13-client-parity-deliverables.md
- merged decision from inbox (verbal-client-compat-section.md) into decisions.md
- propagated team update to agent history files (keaton, verbal, mcmanus)
- Added Client Compatibility section to squad.agent.md (platform detection, VS Code spawn adaptations, feature degradation table)
- Created docs/features/vscode.md (VS Code how-to guide)
- Updated README context window budget with real numbers (coordinator 28.8K tokens, decisions.md 80K tokens)
- Added What's New in v0.4.0 section to README
- Updated status to v0.4.0-dev
- Removed forthcoming note from client-compatibility.md VS Code link

Closes #10
- Append 2026-02-13 user directives (emoji in VS Code agent picker, CLI spawn descriptions)
- Delete inbox files after merge
…, Init Mode compression (#37)

- decisions.md: 251 blocks -> 78 active decisions (~80K -> ~33K tokens)
- decisions-archive.md: 173 archived blocks preserved for reference
- squad.agent.md: 3 spawn templates -> 1, Init Mode compressed (84 -> 48 lines)
- Per-agent spawn cost: 41-46% -> 17-23% of context window
- README: updated context budget table and What's New
- docs/features/memory.md: documented decision archiving

Closes #37
@bradygaster
bradygaster merged commit c36ad39 into main Feb 13, 2026
@bradygaster
bradygaster deleted the squad/v040-tests-mcp-plugins branch February 13, 2026 16:49
@diberry

diberry commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Docs Placement Analysis

Current Docs Structure Overview

Squad docs are organized into 7 main sections: Get Started (5), Guide (8), Features (28), Reference (7), Scenarios (22), Concepts (6), and Cookbook (1).

Closest Neighbors in Existing Content

  • features/copilot-coding-agent.md — How @copilot works
  • features/reviewer-protocol.md — Rejection protocol and lockout mechanism
  • features/directives.md — Team rules (coding standards, workflows)
  • scenarios/ci-cd-integration.md — Ralph, label-driven automation, @copilot auto-assign

Recommended Placement for Quality Safeguards

Section: features/ (Quality & Safety subsection)

Page Details:

  • Slug: features/quality-safeguards
  • Title: "Quality Safeguards for AI Agents"
  • Subtitle: "Prevent test weakening, code deletion, and CI bypass anti-patterns"

Nav Position: After @copilot Coding Agent, before Human Team Members

Suggested Content:

  1. The Anti-Patterns (green bar at any cost, file deletion hazards, assertion gutting)
  2. Built-in Protections (reviewer lockout, directives, PR checklists)
  3. CI-Level Guards (file-deletion detection, source-tree canaries, test count validation)
  4. Agent-Side Safeguards (copilot-instructions.md, pre-commit hooks, PR template audits)

Cross-Links:

  • From copilot-coding-agent.md: See Quality Safeguards for protecting your CI
  • From reviewer-protocol.md: Combines with Quality Safeguards for multi-layer defense
  • From scenarios/ci-cd-integration.md: Implement deletion guards in your CI pipeline

Rationale

  1. Feature, not Scenario — It's a Squad capability (guardrails for agents)
  2. Mirrors Reviewer Protocol — Both are gates preventing bad outcomes
  3. Complements @copilot page — Natural progression: intro agent, then protection strategy
  4. Bridges Features and CI/CD — Feature describes capability; scenario describes implementation
  5. Completes the governance cluster — Reviewer protocol + Directives + Quality Safeguards form coherent oversight group

Context: Real-world incident (issue #631) validated the need for multi-layer defenses against unintended file deletion and test weakening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants